<?php
namespace liketp;

class DefaultController
{
    public function pageNotFound($action)
    {
        return '404 Page not found.[action: '. $action .']';
    }

    public function __call($name, array $arguments=[])
    {
        array_unshift($arguments, $name);
        return call_user_func_array([$this, 'pageNotFound'], $arguments);
    }
}